<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">

<title>Dojo ComboBox Widget Test</title>

<script type="text/javascript"> var djConfig = {isDebug: true}; </script>
<script type="text/javascript" src="../../dojo.js"></script>
<script type="text/javascript">
	dojo.require("dojo.widget.*");
	dojo.require("dojo.widget.ComboBox");
	dojo.require("dojo.widget.html.ComboBox");

	dojo.widget.SubComboBox = function(){
		dojo.widget.html.ComboBox.call(this);
		this.widgetType = "SubComboBox";
	}

	dojo.inherits(dojo.widget.SubComboBox, dojo.widget.html.ComboBox);

	dojo.lang.extend(dojo.widget.SubComboBox, {
		fillInTemplate: function(args, frag){
			// this.constructor.superclass.fillInTemplate.call(this, args, frag);
			this.dataProvider = {
				startSearch: function(){
					dojo.debug("howdy!");
				}
			};
		}
	});
	dojo.widget.tags.addParseTreeHandler("dojo:subcombobox");
</script>

<input dojoType="subcombobox" value="this should be replaced!"
			dataUrl="comboBoxData.js">

<p>this is some text below the combo box. It shouldn't get pushed out of the way when search results get returned.
